package com.ruoyi.system.domain;

import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 推荐奖励表 wdy_referrer_reward
 * 
 * @author ruoyi
 * @date 2019-12-26
 */
public class WdyReferrerReward extends BaseEntity
{

	private static final long serialVersionUID = 1L;

	/** id */
		private Long id;
	/** 用户id */
		private String userId;
	/** 直接充值 */
		private BigDecimal level1Recharge;
	/** 间接充值 */
		private BigDecimal level2Recharge;
	/** 三代充值 */
		private BigDecimal level3Recharge;
	/** 直接充值奖励 */
		private BigDecimal level1Reward;
	/** 间接充值奖励 */
		private BigDecimal level2Reward;
	/** 三代充值奖励 */
		private BigDecimal level3Reward;
	/** 用户充值 */
		private BigDecimal userRecharge;
	/** 团队充值 */
		private BigDecimal childrenRecharge;
	/** 团队级别 */
		private Integer teamLevel;
	/** 团队奖励 */
		private BigDecimal teamReward;
	/** 级差奖励 */
		private BigDecimal levelDiffReward;
	/** 加权分红奖励 */
		private BigDecimal shareProfit;
	/** 排名 */
		private Integer rank;
	/** 排名奖励 */
		private BigDecimal rankReward;
	/** 队长id */
		private String teamUserId;
	/** 统计日期 */
	    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
		private Date statisticDate;
	/** 亲密好友 */
		private Integer directChildrenCount;
	/** 活跃好友 */
		private Integer activeChildrenCount;
	/** 删除标志（0代表存在 1代表删除） */
		private Integer delFlag;
	/** 创建者 */
		private String createBy;
	/** 创建时间 */
	    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
		private Date createTime;
	/** 更新者 */
		private String updateBy;
	/** 更新时间 */
	    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
		private Date updateTime;
	/** 备注信息 */
		private String remark;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setUserId(String userId) 
	{
		this.userId = userId;
	}

	public String getUserId() 
	{
		return userId;
	}
	public void setLevel1Recharge(BigDecimal level1Recharge) 
	{
		this.level1Recharge = level1Recharge;
	}

	public BigDecimal getLevel1Recharge() 
	{
		return level1Recharge;
	}
	public void setLevel2Recharge(BigDecimal level2Recharge) 
	{
		this.level2Recharge = level2Recharge;
	}

	public BigDecimal getLevel2Recharge() 
	{
		return level2Recharge;
	}
	public void setLevel3Recharge(BigDecimal level3Recharge) 
	{
		this.level3Recharge = level3Recharge;
	}

	public BigDecimal getLevel3Recharge() 
	{
		return level3Recharge;
	}
	public void setLevel1Reward(BigDecimal level1Reward) 
	{
		this.level1Reward = level1Reward;
	}

	public BigDecimal getLevel1Reward() 
	{
		return level1Reward;
	}
	public void setLevel2Reward(BigDecimal level2Reward) 
	{
		this.level2Reward = level2Reward;
	}

	public BigDecimal getLevel2Reward() 
	{
		return level2Reward;
	}
	public void setLevel3Reward(BigDecimal level3Reward) 
	{
		this.level3Reward = level3Reward;
	}

	public BigDecimal getLevel3Reward() 
	{
		return level3Reward;
	}
	public void setUserRecharge(BigDecimal userRecharge) 
	{
		this.userRecharge = userRecharge;
	}

	public BigDecimal getUserRecharge() 
	{
		return userRecharge;
	}
	public void setChildrenRecharge(BigDecimal childrenRecharge) 
	{
		this.childrenRecharge = childrenRecharge;
	}

	public BigDecimal getChildrenRecharge() 
	{
		return childrenRecharge;
	}
	public void setTeamLevel(Integer teamLevel) 
	{
		this.teamLevel = teamLevel;
	}

	public Integer getTeamLevel() 
	{
		return teamLevel;
	}
	public void setTeamReward(BigDecimal teamReward) 
	{
		this.teamReward = teamReward;
	}

	public BigDecimal getTeamReward() 
	{
		return teamReward;
	}
	public void setLevelDiffReward(BigDecimal levelDiffReward) 
	{
		this.levelDiffReward = levelDiffReward;
	}

	public BigDecimal getLevelDiffReward() 
	{
		return levelDiffReward;
	}
	public void setShareProfit(BigDecimal shareProfit) 
	{
		this.shareProfit = shareProfit;
	}

	public BigDecimal getShareProfit() 
	{
		return shareProfit;
	}
	public void setRank(Integer rank) 
	{
		this.rank = rank;
	}

	public Integer getRank() 
	{
		return rank;
	}
	public void setRankReward(BigDecimal rankReward) 
	{
		this.rankReward = rankReward;
	}

	public BigDecimal getRankReward() 
	{
		return rankReward;
	}
	public void setTeamUserId(String teamUserId) 
	{
		this.teamUserId = teamUserId;
	}

	public String getTeamUserId() 
	{
		return teamUserId;
	}
	public void setStatisticDate(Date statisticDate) 
	{
		this.statisticDate = statisticDate;
	}

	public Date getStatisticDate() 
	{
		return statisticDate;
	}
	public void setDirectChildrenCount(Integer directChildrenCount) 
	{
		this.directChildrenCount = directChildrenCount;
	}

	public Integer getDirectChildrenCount() 
	{
		return directChildrenCount;
	}
	public void setActiveChildrenCount(Integer activeChildrenCount) 
	{
		this.activeChildrenCount = activeChildrenCount;
	}

	public Integer getActiveChildrenCount() 
	{
		return activeChildrenCount;
	}
	public void setDelFlag(Integer delFlag) 
	{
		this.delFlag = delFlag;
	}

	public Integer getDelFlag() 
	{
		return delFlag;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("level1Recharge", getLevel1Recharge())
            .append("level2Recharge", getLevel2Recharge())
            .append("level3Recharge", getLevel3Recharge())
            .append("level1Reward", getLevel1Reward())
            .append("level2Reward", getLevel2Reward())
            .append("level3Reward", getLevel3Reward())
            .append("userRecharge", getUserRecharge())
            .append("childrenRecharge", getChildrenRecharge())
            .append("teamLevel", getTeamLevel())
            .append("teamReward", getTeamReward())
            .append("levelDiffReward", getLevelDiffReward())
            .append("shareProfit", getShareProfit())
            .append("rank", getRank())
            .append("rankReward", getRankReward())
            .append("teamUserId", getTeamUserId())
            .append("statisticDate", getStatisticDate())
            .append("directChildrenCount", getDirectChildrenCount())
            .append("activeChildrenCount", getActiveChildrenCount())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
